package chapter02;

/**
 * 使用嵌套循环在控制台上输出九九乘法表
 * Created by a on 2017/6/9.
 */
public class Test035 {
    public static void main(String[] args) {

        int ints[][] = new int[9][];
        //遍历一维数组
        for (int i=1;i<=ints.length;i++){

            for (int j=i;j<=9;j++){

                System.out.print(i+"*"+j+"="+i*j+"\t");
            }
            System.out.println();


        }

    }
}
